import java.io.Serializable;
public class Artical implements Serializable{
	private String Id;
	private String Title;
	private String Author;
	private String Date;
	private String Content;
	//Default Constructor
	public Artical(){
		
	}
	//Paramete Constructor
	public Artical(String id, String title, String author, String date,String content) {
		super();
		this.Id= id;
		Title = title;
		Author = author;
		Date = date;
		Content = content;
	}
	// Accesser set and get
	public String getId() {
		return Id;
	}
	public void setId(String id) {
		Id = id;
	}
	public String getTitle() {
		return Title;
	}
	public void setTitle(String title) {
		Title = title;
	}
	public String getAuthor() {
		return Author;
	}
	public void setAuthor(String author) {
		Author = author;
	}
	public String getDate() {
		return Date;
	}
	public void setDate(String date) {
		Date = date;
	}
	public String getContent() {
		return Content;
	}
	public void setContent(String content) {
		Content = content;
	}
	public String toString() {
		return Id.trim()+" "+ Title.trim()+" "+ Author.trim()+" "+Date.trim()+" "+Content;
	}
	
}
